package cn.layfolk.uaa.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述:
 * 作者: panhongtong
 * 创建时间: 2020-10-16 16:17
 **/
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }

    @GetMapping("/admin/hello")
    public String admin() {
        return "admin";
    }

    @GetMapping("/admin/hello2")
    public String admin2() {
        return "admin2";
    }

    @GetMapping("/anonymous/hello")
    public String anonymous() {
        return "哈哈anonymous";
    }
}
